package com.rc.web.service;

import com.rc.pojo.vo.file.UploadVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface FileService {
    UploadVO upload(MultipartFile file);
    UploadVO uploadToFolder(MultipartFile file, String folder);
    
    /**
     * 获取指定文件夹中的所有图片URL
     * @param folder 文件夹路径
     * @return 图片URL列表
     */
    List<String> getImagesFromFolder(String folder);
}
